<!doctype html>
<html>
<head>
    <meta charset="utf-8">
    <link rel="stylesheet" href="__PUBLIC__/Admin/css/base.css" />
    <link rel="stylesheet" href="__PUBLIC__/Admin/css/info-reg.css" />
    <title></title>
</head>

<body>
<div class="title"><h2>添加管理员</h2></div>
<form action="updateuserinfo" method="post">
    <div class="main">
        <p class="short-input ue-clear">
            <label>用户名</label>
            <input type="text" name="uname"   value="{$mm.uname}" />
        </p>
        <p class="short-input ue-clear">
            <label>新密码</label>
            <input type="password" name="upwd" id="xmm" />
        </p>
        <p class="short-input ue-clear">
            <label>确认新密码</label>
            <input type="password" name="repwd" id="qrmm" />
        </p>
    </div>
    <input type="hidden" name="uid"  value="{$mm.uid}"  />
    <div class="btn ue-clear">
        <a href="javascript:;" class="confirm">确定</a>
        <a href="javascript:;" class="clear">清空内容</a>
    </div>
</form>
</body>
<script type="text/javascript" src="__PUBLIC__/Admin/js/jquery.js"></script>
<script type="text/javascript" src="__PUBLIC__/Admin/js/common.js"></script>
<script type="text/javascript" src="__PUBLIC__/Admin/js/WdatePicker.js"></script>
<script type="text/javascript">
    $(".select-title").on("click",function(){
        $(".select-list").toggle();
        return false;
    });
    $(".select-list").on("click","li",function(){
        var txt = $(this).text();
        $(".select-title").find("span").text(txt);
    });
    $(function(){
        //给确定按钮绑定一个点击事件
        $('.confirm').on('click',function(){
            //事件的处理程序
            $('form').submit();
        });

        //给清空内容按钮绑定一个点击事件
        $('.clear').on('click',function(){
            //事件的处理程序
            $('form')[0].reset();
        });
    });

    showRemind('input[type=text], textarea','placeholder');
</script>

</html>
